package com.csii.adhoc.dataready.mapper;

import com.csii.adhoc.dataready.TDataCondPo;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component //仅用于 idea 不报错
public interface TDataCondMapper {
    int deleteTDataCondByPrimaryKey(String modelId);

    int deleteTDataCondNotInList(List list);

    int insertOneTDataCond(Map<String, String> record);

    int insertSelective(TDataCondPo record);

    TDataCondPo selectByPrimaryKey(String modelId);

    int updateByPrimaryKeySelective(TDataCondPo record);

    int updateTDataCondByPrimaryKey(TDataCondPo record);

    List<TDataCondPo> selectListTDataCond(String type);

    Map<String, String> getAllCondByUnitId(String unitId);

    TDataCondPo selectOneTDataCond(String modelId, String fldEnname);

    Map selCustDataDbTable(String sql);

    int deleteCondByUnitId(String unitId);
}